import { Authority } from '../request'

const { get,post } = Authority

// 获取抽查列表
export const getRanDomCheckList= params => get('/check/investigate-random-check/v1/queryList', { params })
// 新增抽查
export const addRanDomCheck = params => post('/check/investigate-random-check/v1/add', params)

// 抽查销号申请
export const applyRanDomCheck = params => post('/check/investigate-random-check/v1/apply', params)
// 抽查销号审批
export const cancelRanDomCheck = params => post('/check/investigate-random-check/v1/check', params)


// 获取督查列表
export const getInvestigateList= params => get('/check/investigate-check/v1/queryList', { params })
// 新增督查
export const addInvestigate = params => post('/check/investigate-check/v1/add', params)

// 督查销号申请
export const applyInvestigate = params => post('/check/investigate-check/v1/apply', params)
// 督查销号审批
export const cancelInvestigate = params => post('/check/investigate-check/v1/check', params)
